﻿using System;

using CssAndJsCombiner.UI;

public partial class Default2 : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string season = getSeason();
        if (!String.IsNullOrEmpty(season))
        {
            css.Vars.Add(season);
        }
    }

    private string getSeason()
    {
        switch (DateTime.Now.Month)
        {
            case 12:
            case 1:
            case 2: return "winter";

            case 3:
            case 4:
            case 5: return "spring";

            case 6:
            case 7:
            case 8: return "summer";

            case 9:
            case 10:
            case 11: return "autumn";
        }

        return String.Empty;
    }
}
